Keycloak REST Services 1.5.0-Final

Path: / admin / realms / {realm} / users / {id} / sessions

List set of sessions associated with this user.

Path parameters:
realm - realm name (not id!)
id -

Resource Methods
Method Summary
NameDescription
GET /admin/realms/{realm}/users/{id}/sessionsList set of sessions associated with this user.

Method Detail

GET /admin/realms/{realm}/users/{id}/sessions

List set of sessions associated with this user.

HTTP Example:
GET /admin/realms/{realm}/users/{id}/sessions
API Example:

UsersResource.getSessions({'realm': /* name realm name (not id!) */,
  'id': /* id */});

Output:
List<UserSessionRepresentation> -
Produces:
application/json

Keycloak REST Services 1.5.0-Final